Skip to main content

commandNames

Type

function

Summary

Returns a list of all built-in commands in LiveCode.

Syntax

the commandNames
commandNames()

Description

Use the commandNames function to check whether a particular command already exists in LiveCode, to avoid using a reserved word for your own custom handlers.

The commandNames function returns all the commands that can be used in LiveCode, including synonyms.

Examples

the commandNames
if field "Name" is among the lines of the commandNames then exit repeat

Value

NameTypeDescription

return

The commandNames function returns a list of command names, one per line.

control structure: on, function

function: propertyNames, functionNames

glossary: handler, LiveCode, command, return, reserved word

keyword: line

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?